package edu.sctu.practice.class01.fengleilin.test05;

/**
 * Created by fll on 2015/10/12.
 */
public class PersonMessage {

    private String name;
    private int age;

    public PersonMessage(String name, int age) {

        this.name = name;
        this.age = age;

    }

    public void display() {

        System.out.println("该人的名字是" + name);
        System.out.println("该人的年龄是" + age);
    }
}
